package com.ruoyi.demo.mapper;

import java.util.List;
import com.ruoyi.demo.domain.AuctionRule;

/**
 * 竞拍规则Mapper接口
 * 
 * @author metaee
 * @date 2025-02-24
 */
public interface AuctionRuleMapper 
{
    /**
     * 查询竞拍规则
     * 
     * @param ruleId 竞拍规则主键
     * @return 竞拍规则
     */
    public AuctionRule selectAuctionRuleByRuleId(Long ruleId);

    /**
     * 查询竞拍规则列表
     * 
     * @param auctionRule 竞拍规则
     * @return 竞拍规则集合
     */
    public List<AuctionRule> selectAuctionRuleList(AuctionRule auctionRule);

    /**
     * 新增竞拍规则
     * 
     * @param auctionRule 竞拍规则
     * @return 结果
     */
    public int insertAuctionRule(AuctionRule auctionRule);

    /**
     * 修改竞拍规则
     * 
     * @param auctionRule 竞拍规则
     * @return 结果
     */
    public int updateAuctionRule(AuctionRule auctionRule);

    /**
     * 删除竞拍规则
     * 
     * @param ruleId 竞拍规则主键
     * @return 结果
     */
    public int deleteAuctionRuleByRuleId(Long ruleId);

    /**
     * 批量删除竞拍规则
     * 
     * @param ruleIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAuctionRuleByRuleIds(Long[] ruleIds);
}
